package core;

public class Component {                                     // necessary for the abstract factory pattern
	private Coordinate position = new Coordinate();                // we should rewrite the rest :-?
	private Coordinate size = new Coordinate();
	
	
	public Component(Coordinate position, Coordinate size) {
		this.position = position;
		this.size = size;
	}
	public Coordinate getPosition() {
		return position;
	}
	public void setPosition(Coordinate position) {
		this.position = position;
	}

	public Coordinate getSize() {
		return size;
	}

	public void setSize(Coordinate size) {
		this.size = size;
	}
}